package com.xiaojiezhu.shiro.spring.dao;

import com.xiaojiezhu.shiro.spring.bean.UserInfo;

import java.util.List;

/**
 * @Author 朱小杰
 * 时间 2017-08-06 .22:42
 * 说明 ...
 */
public interface UserDao {


    UserInfo findByUserNameAndPassword(String userName,String password);
    UserInfo findByUserName(String userName);

    List<String> findRolesByUserName(String userName);

    List<String> findPermissionsByUserName(String userName);
}
